package com.link.base.base.appduty.dao.mybatis.mapper;

import com.link.base.base.appduty.model.AppDutyMenuInter;
import com.link.core.basic.dao.mapper.BasicMapper;
import com.link.core.basic.model.CallParam;

import java.util.List;

/**
 * @author history update 18.11.07
 */
public interface AppDutyMenuInterMapper extends BasicMapper<AppDutyMenuInter> {

    /**
     * 查询000账套下某app职责的菜单
     * @param record
     * @return List
     * @throws Exception
     */
    public List<AppDutyMenuInter> queryCorpAppDutyMenu(CallParam record) throws Exception;

    /**
     * 插入某账套对应000职责下的所有菜单
     * @param appDutyMenuList
     * @throws Exception
     */
    public void insertAppDutyMenuList(List<AppDutyMenuInter> appDutyMenuList) throws Exception;
}
